const mongoose = require("mongoose")
module.exports = new mongoose.Schema(
    {
        username:{
            required: true,
            type: String,
            unique: true
        },
        password:{
            required: true,
            type: String
        },
        degiste_date:{
            default: Date.now(),
            type: Date
        }
    },
    {
        collection: "user",
    }
)